CARGO_HOME: ${CI_PROJECT_DIR}/cargo
SCCACHE_DIR: ${CI_PROJECT_DIR}/sccache
RUSTC_WRAPPER: sccache
- OSTREE_VERSION: v2019_3
before_script:
- dnf install -y cargo rust clippy rustfmt git make ostree-devel
build_all-features:
stage: build
script:
- - cargo clippy --all --features ${OSTREE_VERSION},futures -- -D warnings
- - cargo test --verbose --all --features ${OSTREE_VERSION},futures
+ - cargo clippy --all --features latest,futures -- -D warnings
+ - cargo test --verbose --all --features latest,futures
build_default-features:
stage: build
v2018_9 = ["v2018_7", "ostree-sys/v2018_9"]
v2019_2 = ["v2018_9", "ostree-sys/v2019_2"]
v2019_3 = ["v2019_2", "ostree-sys/v2019_3"]
+latest = ["v2019_3"]